<div id="knMasterCenterHomeView">
	
	<!-- article list -->
	{assign var="artId" value=0}
	{foreach from=$articleList item=articleItem}
		{if $artId==0}
			<!-- feature article -->
			<div class="knFeatureArticle">
				<table cellpadding="0" cellspacing="0">
					<tr>
						<td valign="top">
							{if $articleItem.image|strlen > 0}
								<a href="/{$articleItem.url}.html">
									<img class="knFeatureArticleImage" width="200" src="/img/{$articleItem.image}" alt="{$articleItem.title}" />
								</a>
							{/if}
						</td>
						<td>
							<h2><a href="/{$articleItem.url}.html">{$articleItem.title}</a></h2>
							
							<i>({$articleItem.date|date_format:"%d.%m.%Y"})</i> {$articleItem.short} ... 
			
							<br />
							<i>&raquo; <b>{$TEXT_READ_ARTICLE}:</b>
							<a href="/{$articleItem.url}.html" title="Zum Artikel: {$articleItem.title}">{$articleItem.title}</a></i>
						</td>
					</tr>
				</table>
			</div>
		{else}
			{if $artId==1 || $artId==2}
				<div id="knSmallFeatureArticle{$artId}" class="knSmallFeatureArticle">
					<h2><a href="/{$articleItem.url}.html">{$articleItem.title}</a></h2>
					
					{if $articleItem.image|strlen > 0}
						<a href="/{$articleItem.url}.html">
							<img class="knSmallFeatureArticleImage" width="100" src="/img/{$articleItem.smallimage}" alt="{$articleItem.title}" />
						</a>
					{/if}
					
					<i>({$articleItem.date|date_format:"%d.%m.%Y"})</i> {$articleItem.short} ... 
	
					<br />
					<i>&raquo; 
					<a href="/{$articleItem.url}.html" title="{$articleItem.title}">
						<b>{$TEXT_READ_ARTICLE}</b>
					</a></i>			
				</div>
				{if $artId==2}
					{if $thisMonthTopArticleList|count == 10}
						<!-- this months top articles -->
						<div class="knFeatureBreak"></div>
						<div class="knTopArticleList">
							<div class="knTopArticleListHead">
								{$TEXT_TOP10_ARTICLE|replace:"[!MONTH!]":$thisTopArticleMonth}
							</div>
							{assign var="topArticlePos" value=1}
							{foreach from=$thisMonthTopArticleList item=topArticleItem}
								<div id="knTopArticle{$topArticlePos}" class="knTopArticle">
									<div class="knTopArticlePosition">
										{$topArticlePos}.
									</div>
									<div class="knTopArticleTitle">
										<a href="/{$topArticleItem.url}.html">{$topArticleItem.title}</a>
									</div>
								</div>
								
								{assign var="topArticlePos" value=$topArticlePos+1}
							{/foreach}
							<div style="clear:both;"></div>
						</div>
					{/if}
					
					<!-- breaker -->
					<div class="knFeatureBreak"></div>
				{/if}
			{else}
				<div class="knListArticle">
					<table cellpadding="0" cellspacing="0">
						<tr>
							<td valign="top">
								{if $articleItem.image|strlen > 0}
									<a href="/{$articleItem.url}.html">
										<img class="knFeatureArticleImage" width="100" src="/img/{$articleItem.smallimage}" alt="{$articleItem.title}" />
									</a>
								{/if}						
							</td>
							<td>
								<div class="knListArticleReadLink">
									<a href="/{$articleItem.url}.html">{$TEXT_READ_ARTICLE}</a> &raquo; 
								</div>
								<h2><a href="/{$articleItem.url}.html">{$articleItem.title}</a></h2>
									
								<i>({$articleItem.date|date_format:"%d.%m.%Y"})</i> {$articleItem.short} ... 
							</td>
						</tr>
					</table>			
				</div>				
			{/if}
		{/if}
		{assign var="artId" value=$artId+1}
	{/foreach}
	
	<div class="knHomeFoot">
		{assign var="footerFile" value='themes/desktop/lang/'|cat:$languageCode}
		{assign var="footerFile" value=$footerFile|cat:'/footer-text.tpl'}
 		{include file=$footerFile}
	</div>
</div>
